package com.androidviewbadge

import java.util.*

class MessageModel(var title: String, var detail: String, var newMsgCount: Int) {
    companion object {
        val testData: List<MessageModel>
            get() {
                val messages: MutableList<MessageModel> = ArrayList()
                val random = Random()
                for (i in 0..29) {
                    messages.add(MessageModel("title$i", "detail$i", random.nextInt(150)))
                }
                return messages
            }
    }
}